package cn.luischen.model;

import static org.junit.Assert.*;
import static org.mockito.ArgumentMatchers.*;
import static org.mockito.Mockito.*;
import org.junit.Rule;
import org.junit.runner.RunWith;
import org.junit.rules.ExpectedException;
import org.junit.Test;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.reflect.Whitebox;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import org.mockito.stubbing.Answer;
import java.lang.reflect.Method;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.TypeReference;
import com.alibaba.fastjson.parser.ParserConfig;
import java.util.Map;
import java.util.List;
import com.unitspirit.runtime.*;

/**
 * The class contains tests for the class cn.luischen.model.OptionsDomain.
 *
 * @generatedBy UnitSpirit CreateTemplateTestFile4
 * @version 1.0.9.11 
 */
@PowerMockIgnore({ "javax.management.*" })
public class OptionsDomain_getDescription_WGTest {
	@Rule
	public ExpectedException unitspirit_thrown = ExpectedException.none();

	/**
	 * 测试方法初始化.
	 * 
	 * @throws Exception 
	 *         if the initialization fails for some reason 
	 *  
	 * @generatedBy UnitSpirit at 2021-11-26 11:32:02
	 */
	@org.junit.Before
	public void setUp() throws Exception {
		try {
			GlobalUnitInit.init();
			MockitoAnnotations.initMocks(this);
			ParserConfig.getGlobalInstance().setAutoTypeSupport(true);
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}

	/**
	 * @date 2021-11-26 11:32:02
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110224_087_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "site_record");
		Whitebox.setInternalState(unitspirit_fixture, "description", "备案号");
		Whitebox.setInternalState(unitspirit_fixture, "value", "222");

		//返回值定义 
		String result_expected = "备案号";

		String unitspirit_result_d = "备案号";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:02
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110224_201_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name",
				"baidu_site_verification");
		Whitebox.setInternalState(unitspirit_fixture, "description", "百度网站验证码");
		Whitebox.setInternalState(unitspirit_fixture, "value", "123");

		//返回值定义 
		String result_expected = "百度网站验证码";

		String unitspirit_result_d = "百度网站验证码";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:02
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110224_207_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name",
				"google_site_verification");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"google网站验证码");
		Whitebox.setInternalState(unitspirit_fixture, "value", "111");

		//返回值定义 
		String result_expected = "google网站验证码";

		String unitspirit_result_d = "google网站验证码";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:02
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110224_211_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_csdn");
		Whitebox.setInternalState(unitspirit_fixture, "description", "csdn");
		Whitebox.setInternalState(unitspirit_fixture, "value", "111");

		//返回值定义 
		String result_expected = "csdn";

		String unitspirit_result_d = "csdn";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:02
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110224_218_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_github");
		Whitebox.setInternalState(unitspirit_fixture, "description", "github");
		Whitebox.setInternalState(unitspirit_fixture, "value", "");

		//返回值定义 
		String result_expected = "github";

		String unitspirit_result_d = "github";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:03
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110224_233_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_weibo");
		Whitebox.setInternalState(unitspirit_fixture, "description", "微博地址");
		Whitebox.setInternalState(unitspirit_fixture, "value", "333");

		//返回值定义 
		String result_expected = "微博地址";

		String unitspirit_result_d = "微博地址";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:03
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110224_239_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_resume");
		Whitebox.setInternalState(unitspirit_fixture, "description", "简历地址");
		Whitebox.setInternalState(unitspirit_fixture, "value", "");

		//返回值定义 
		String result_expected = "简历地址";

		String unitspirit_result_d = "简历地址";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:03
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110224_245_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_zhihu");
		Whitebox.setInternalState(unitspirit_fixture, "description", "知乎地址");
		Whitebox.setInternalState(unitspirit_fixture, "value", "");

		//返回值定义 
		String result_expected = "知乎地址";

		String unitspirit_result_d = "知乎地址";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:03
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110522_592_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name",
				"site_description");
		Whitebox.setInternalState(unitspirit_fixture, "description", "网站描述");
		Whitebox.setInternalState(unitspirit_fixture, "value", "erer");

		//返回值定义 
		String result_expected = "网站描述";

		String unitspirit_result_d = "网站描述";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:03
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211109_110522_600_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_jianshu");
		Whitebox.setInternalState(unitspirit_fixture, "description", "简书地址");
		Whitebox.setInternalState(unitspirit_fixture, "value", "123");

		//返回值定义 
		String result_expected = "简书地址";

		String unitspirit_result_d = "简书地址";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:03
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211111_105839_705_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "site_keywords");

		//返回值定义 
		String result_expected = null;

		String unitspirit_result_d = null;
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		assertNull(unitspirit_result);
	}

	/**
	 * @date 2021-11-26 11:32:03
	 * @see cn.luischen.model.OptionsDomain#getDescription
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getDescription_20211111_105839_736_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_twitter");
		Whitebox.setInternalState(unitspirit_fixture, "description", "twitter");
		Whitebox.setInternalState(unitspirit_fixture, "value", "");

		//返回值定义 
		String result_expected = "twitter";

		String unitspirit_result_d = "twitter";
		unitspirit_fixture.setDescription(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getDescription();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}
}
